約 5,352,271 件
https://w.atwiki.jp/memotech/pages/91.html
layoutにおけるPatternの出力時間について logback.xmlに appender name="stdout" class="ch.qos.logback.core.ConsoleAppender" layout class="ch.qos.logback.classic.PatternLayout" Pattern %d{yyyy-MM-dd HH mm ss.SSS z,JST} %-5level [%thread] %logger - %msg%n /Pattern /layout /appender のように設定すると 2009-04-08 22 34 54.456 JST INFO [main] sample.DoSystemPrint - print! のように出力される。 http //logback.qos.ch/manual/layouts.html に記載してある事項から、下記のようにあーそうなのかなという事は わかるがTime Zoneの指定等が出来るかがわかりにくい。 基本的にはSimpleDateFormatを使用して整形しているのでそちらのJavaDocを 読むと設定方法が見えてくる。 %date 2006-10-20 14 46 49,812 %date{ISO8601} 2006-10-20 14 46 49,812 %date{HH mm ss.SSS} 14 46 49.812 %date{dd MMM yyyy ;HH mm ss.SSS} 20 oct. 2006;14 46 49.812 http //java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/text/SimpleDateFormat.html %d{yyyy-MM-dd HH mm ss.SSS z,JST} という設定は 出力時間をyyyy-MM-dd HH mm ss.SSSで出力して半角スペースを挟んで タイムゾーンも出力する。,で区切って出力時間はJSTでね。 という意味になる。 閲覧数: - 更新日:2009-04-09 13 31 12 (Thu) bookmark_hatena bookmark_delicious bookmark_livedoor bookmark_yahoo bookmark_nifty technoratiに登録 Buzzurlに登録 POOKMARK Airlinesに登録 bookmark_live link_trackback リンク元一覧: #ref_list @めもてっく is licensed under a Creative Commons 表示 2.1 日本 License.
https://w.atwiki.jp/usb_audio/pages/25.html
原文:Audio Data Formats 1.0(PDF) USB Device Class Definition for Audio Data Formats Release 1.0 March 18, 1998 21 The Scaling Control can support all possible Control attributes (CUR, MIN, MAX, and RES). The valid range for the CUR, MIN, MAX, and RES attributes is from zero (0x00) to 255/256 (0xFF). The Scaling Control honors the request to the best of its abilities. It may round the bScale attribute value to its closest available setting. It will report this rounded setting when queried during a Get MPEG Control request. Table 2-14 Scaling Control Parameter Block Control Selector MP_SCALING_CONTROL wLength 1 Offset Field Size Value Description 0 bScale 1 Number The setting for the attribute of the Scaling Control. 2.3.8.1.2.3.6 High/Low Scaling Control The High/Low Scaling Control is used to manipulate the two scaling coefficients used by MPEG decoders that implement an independent boost and cut scaling value for Dynamic Range Control (D5..4 = ‘11’ in the bmMPEGFeatures field of the MPEG format-specific descriptor). If this Control is addressed on a non-‘11’ decoder, the control pipe must indicate a stall. The High/Low Scaling Control can support all possible Control attributes (CUR, MIN, MAX, and RES). The valid range for the CUR, MIN, MAX, and RES attributes is from zero (0x00) to 255/256 (0xFF). The High/Low Scaling Control honors the request to the best of its abilities. It may round the bLowScale and bHighScale attribute values to their closest available settings. It will report these rounded settings when queried during a Get MPEG Control request. The bLowScale value is used by the MPEG decoder to scale the Dynamic Range control words that apply a gain increase (for low sound levels). The bHighScale value is used by the MPEG decoder to scale the Dynamic Range control words that apply a gain reduction (for high level sounds). Table 2-15 High/Low Scaling Control Parameter Block Control Selector MP_HILO_SCALING_CONTROL wLength 2 Offset Field Size Value Description 0 bLowScale 1 Number The setting for the attribute of the low level Scaling Control. 1 bHighScale 1 Number The setting for the attribute of the high level Scaling Control. 2.3.8.2 AC-3 Format In the current specification, only AC-3 decoding aspects are considered. Real-time AC-3 encoding peripherals are not (yet) available and consequently are not covered by this specification. 2.3.8.2.1 AC-3 Format-Specific Descriptor The wFormatTag field is a duplicate of the wFormatTag field in the class-specific AudioStreaming interface descriptor. The same field is used here to identify the format-specific descriptor. USB Device Class Definition for Audio Data Formats Release 1.0 March 18, 1998 22 The bmBSID bitmap field describes which bit stream ID modes this decoder is capable of processing. BSID modes can range from 0 to 31. A bit set indicates that BSID mode [bit_position] is supported. Standard AC-3 decoders must be capable of processing at least BSID modes 0 to 8. Therefore, the lower 9 bits of the bmBSID field must be set. The bmAC3Features bitmap field indicates compression-related features. Bits D3..0 indicate which mode the decoder supports. To ease the design of decoder products, Dolby Digital ICs offer standard operating modes called “Line Mode” and “RF Mode.” These modes are included within the Dolby Digital decoder IC itself, thus greatly simplifying the implementation of dialog normalization, dynamic range control and downmixing functions, all of which are necessary in Dolby Digital products. Two “Custom Modes” offer additional design flexibility aimed at more esoteric audio products for which additional implementation cost and complexity are not of primary concern. Bits D5..4. indicate which type of Dynamic Range Control the AC-3 decoder supports. Some decoders do not implement DRC (D5..4 = ‘00’). If implemented, the DRC can either use the stream embedded gain parameters as is (D5..4 = ‘01’) or can provide for additional DRC scaling factors either a single scaling factor that influences both the boost and cut value simultaneously (D5..4 = ‘10’), or a separate scaling factor for the boost and the cut value (D5..4 = ‘11’) All other bits are reserved. Table 2-16 AC-3 Format-Specific Descriptor Offset Field Size Value Description 0 bLength 1 Number Size of this descriptor, in bytes 10 1 bDescriptorType 1 Constant CS_INTERFACE descriptor type. 2 bDescriptorSubtype 1 Constant FORMAT_SPECIFIC descriptor subtype. 3 wFormatTag 2 Constant AC-3. Constant identifying the precise format the AudioStreaming interface is using. 5 bmBSID 4 Bitmap A bit set to 1 indicates that the corresponding BSID mode is supported. 9 bmAC3Features 1 Bitmap A bit set to 1 indicates that the mentioned feature is supported D0 RF modeD1 Line modeD2 Custom0 modeD3 Custom1 modeD5..4 Internal Dynamic Range Control 00 = not supported.01 = supported but not scalable.10 = scalable, common boost and cut scaling value.11 = scalable, separate boost and cut scaling value.D7..6 Reserved USB Device Class Definition for Audio Data Formats Release 1.0 March 18, 1998 23 2.3.8.2.2 AC-3 Format-Specific Requests The following paragraphs describe the Set and Get AC-3 Control requests. 2.3.8.2.2.1 Set AC-3 Control Request This request is used to set an attribute of an AC-3 Control inside an AudioStreaming interface of the audio function. Table 2-17 Set AC-3 Control Request Values bmRequest Type bRequest wValue wIndex wLength Data 00100001B SET_CURSET_MINSET_MAXSET_RES CS Zero and Interface Length of Parameter block Parameter Block The bRequest field indicates which attribute the request is manipulating. The MIN, MAX, and RES attributes are usually not supported for the Set request. Further details on which attributes are supported for which Controls can be found in Section 2.3.8.2.2.3, “AC-3 Controls.” The wValue field specifies the Control Selector (CS) in the high byte and zero in the low byte. The Control Selector indicates which type of control this request is manipulating. If the request specifies an unknown or unsupported CS to that interface, the control pipe must indicate a stall. For a description of the parameter blocks for the different Controls that can be addressed through the Set AC-3 Control request, see Section 2.3.8.2.2.3, “AC-3 Controls.” 2.3.8.2.2.2 Get AC-3 Control Request This request returns the attribute setting of a specific AC-3 Control inside an AudioStreaming interface of the audio function. Table 2-18 Get AC-3 Control Request Values bmRequest Type bRequest wValue wIndex wLength Data 10100001B SET_CURSET_MINSET_MAXSET_RES CS Zero and Interface Length of Parameter block Parameter Block The bRequest field indicates which attribute the request is reading. The wValue field specifies the Control Selector (CS) in the high byte and zero in the low byte. The Control Selector indicates which type of control this request is addressing. If the request specifies an unknown or unsupported CS to that interface, the control pipe must indicate a stall. For a description of the parameter blocks for the different Controls that can be addressed through the Get AC-3 Control request, see Section 2.3.8.2.2.3, “AC-3 Controls.” 2.3.8.2.2.3 AC-3 Controls The following paragraphs present a detailed description of all possible AC-3 Controls an AudioStreaming interface can incorporate. For each Control, the layout of the parameter block together with the USB Device Class Definition for Audio Data Formats Release 1.0 March 18, 1998 24 appropriate Control Selector are listed. The Control Selector codes are defined in Section A.3.2, “AC-3 Control Selectors.” 2.3.8.2.2.3.1 Mode Control The Mode Control is used to change the compression mode of the AC-3 decoder in the AudioStreaming interface. A Mode Control can only support the CUR attribute. The valid range for the CUR attribute is described through the bmComprFeatures field of the AC-3 format-specific descriptor. Bits D3..0 describe which compression modes the AC-3 decoder supports. Valid values are · 0 RF mode · 1 Line mode · 2 Custom0 mode · 3 Custom1 mode If the Mode Control request specifies an unsupported mode, the control pipe must indicate a stall. The current setting can be queried during a Get AC-3 Control request. Table 2-19 Mode Control Parameter Block Control Selector AC_MODE_CONTROL wLength 1 Offset Field Size Value Description 0 bMode 1 Number The setting for the attribute of the Compression Mode Control 0 RF mode1 Line mode2 Custom0 mode3 Custom1 modeAll other values are reserved. 2.3.8.2.2.3.2 Dynamic Range Control The Dynamic Range Control (DRC) is used to enable or disable the Dynamic Range Control functionality of the decoder. The Dynamic Range Control can have only the current setting attribute (CUR). The position of the Dynamic Range Control switch can be either TRUE or FALSE. TRUE means that the AC- 3 decoder is using the Dynamic Range control words (possibly with additional scaling) contained in the AC-3 bit stream to control the audio dynamic range. FALSE means the control words are being ignored and the original signal dynamic range is being reproduced. The current setting of the Control can be queried using a Get AC-3 Control request. Table 2-20 Dynamic Range Control Parameter Block Control Selector MP_DYN_RANGE_CONTROL wLength 1 USB Device Class Definition for Audio Data Formats Release 1.0 March 18, 1998 25 Offset Field Size Value Description 0 bEnable 1 Bool The setting for the Dynamic Range Control CUR attribute. Enabled when TRUE, disabled when FALSE. 2.3.8.2.2.3.3 Scaling Control The Scaling Control is used to manipulate the single scaling coefficient used by AC-3 decoders that implement a common boost/cut scaling value for Dynamic Range Control. (D5..4 = ‘10’ in the bmAC3Features field of the AC-3 format-specific descriptor.) If this Control is addressed on a non-‘10’ decoder, the control pipe must indicate a stall. The Scaling Control can support all possible Control attributes (CUR, MIN, MAX, and RES). The valid range for the CUR, MIN, MAX, and RES attributes is from zero (0x00) to 255/256 (0xFF). The Scaling Control honors the request to the best of its abilities. It may round the bScale attribute value to its closest available setting. It will report this rounded setting when queried during a Get AC-3 Control request. Table 2-21 Scaling Control Parameter Block Control Selector AC_SCALING_CONTROL wLength 1 Offset Field Size Value Description 0 bScale 1 Number The setting for the attribute of the Scaling Control. 2.3.8.2.2.3.4 High/Low Scaling Control The High/Low Scaling Control is used to manipulate the two scaling coefficients used by AC-3 decoders that implement an independent boost and cut scaling value for Dynamic Range Control. (D5..4 = ‘11’ in the bmAC3Features field of the AC-3 format-specific descriptor.) If this Control is addressed on a non- ‘11’ decoder, the control pipe must indicate a stall. The High/Low Scaling Control can support all possible Control attributes (CUR, MIN, MAX, and RES). The valid range for the CUR, MIN, MAX, and RES attributes is from zero (0x00) to 255/256 (0xFF). The High/Low Scaling Control honors the request to the best of its abilities. It may round the bLowScale and bHighScale attribute values to their closest available settings. It will report these rounded settings when queried during a Get AC-3 Control request. The bLowScale value is used by the AC-3 decoder to scale the Dynamic Range control words which apply a gain increase (for low sound levels). The bHighScale value is used by the AC-3 decoder to scale the Dynamic Range control words which apply a gain reduction (for high level sounds). Table 2-22 High/Low Scaling Control Parameter Block Control Selector AC_HILO_SCALING_CONTROL wLength 2 1 - 6 - 11 - 16 - 21 - 26 - 31 ここを編集
https://w.atwiki.jp/kerikerikeri/pages/26.html
Javaの部屋 ■java.new.URLクラス リモートファイルもローカルファイルも同一のアクセスが可能。 ▽HTTPリソースの場合(http //www26.atwiki.jp/kerikerikeri/pages/26.html) URL url = new URL("http //www26.atwiki.jp/kerikerikeri/pages/26.html"); ▽ファイルリソースの場合(file //c /Documents and Settings/guest/readme.txt) URL url2 = new URL("file //c /Documents and Settings/guest/readme.txt"); サンプルソース import java.io.*; import java.net.*; class TestUrl{ public static void main(String args){ BufferedReader reader = null; try{ URL url = new URL("http //www26.atwiki.jp/kerikerikeri/pages/26.html"); reader = new BufferedReader(new InputStreamReader(url.openStream(),"UTF-8")); while((line=reader.readLine()) != null){ System.out.println(line); } }catch(Exception e){ } } ■DataHandlerクラス SOAP Attachmentで使うDataHandlerクラスを使ってみる。 実装サンプル import javax.activation.*; import java.io.*; FileDataSource fds = new FileDataSource(new File("パス","ファイル名")); /** DataHandler生成 */ DataHandler dh = new DataHandler(fds); /** byte[]に格納 */ ByteArrayOutputStream baos = new ByteArrayOutputStream(); dh.getOutputStream(baos); byte[] b = baos.toByteArray(); ■ミリ秒を表示する java.util.Dateクラス java.text.DateFormatクラス java.text.SimpleDateFormatクラス Date date = new Date(); DateFormat dateformat = new SimpleDateFormat("yyyyMMdd HH mm ss.SSS"); dateformat.format(date); 実行結果 20070217 01 55 24.499
https://w.atwiki.jp/a3mi22/pages/79.html
正当な日付かを判断する =====mainクラスみたいなのでやる===== String targetDate = "2009/03/22 12 15 00"; try{ if(!isDate(targetDate)) { msg = "日付が変だよ。"; } catch( Exception e ){ msg = "日付が変だよ。"; } return msg; =====isDate===== /** * 文字列が正当な日付であるかを判定します. br * @param target 検査対象文字列 * @return TRUE 正当な日付 FALSE 正当な日付ではない * @throws ParseException */ private boolean isDate(String target) throws ParseException { boolean result = false; SimpleDateFormat formatter = new SimpleDateFormat(); formatter.setLenient(false); formatter.applyPattern(DATE_FORMATTER_SEPARATED_YYYYMMDDHHMMSS); // 文字列をDate型に変換 Date targetToDate = formatter.parse(target); // Date型を文字列に変換 String dateToString = formatter.format(targetToDate); if(target.equals(dateToString)) { result = true; } return result; } 文字列の一部を削除する String str = "AsamiTestAsami"; StringBuffer sb = new StringBuffer(str); sb.delete(5, 9); str = sb.toString(); strは”AsamiAsami”になりますよ。 今実行しているマシンのホスト名を取得する String hostName = InetAddress.getLocalHost().getHostName(); 合計: -
https://w.atwiki.jp/usb_audio/pages/23.html
原文:Audio Data Formats 1.0(PDF) USB Device Class Definition for Audio Data Formats Release 1.0 March 18, 1998 16 Bit D6 indicates that the multilingual information that is encoded at normal sampling rates (32 kHz, 44.1 kHz or 48 kHz). This bit is only applicable for MPEG-2 decoders. Bit D7 indicates that the decoder is capable of processing streams that are encoded using adaptive multichannel prediction. Bits D9..8 indicate if the decoder can process embedded multilingual information. Multilingual capabilities can consist of being able to process multilingual information encoded at the same sampling frequency as the main audio channels (D9..8 = ‘01’). Some decoders may provide the additional capability to process multilingual information encoded at half the sampling frequency of the main audio channels (D9..8 = ‘11’). Bits D15..10 are reserved for future extensions. The bmMPEGFeatures field indicates compression-related features. Bits D5..4 report which type of Dynamic Range Control the MPEG decoder supports. Some decoders do not implement DRC (D5..4 = ‘00’). If implemented, the DRC can either use the stream embedded gain parameters as is (D5..4 = ‘01’) or can provide for additional DRC scaling factors, either a single scaling factor that influences both the boost and cut value simultaneously (D5..4 = ‘10’) or a separate scaling factor for the boost and the cut value (D5..4 = ‘11’) All other bits are reserved. Table 2-7 MPEG Format-Specific Descriptor Offset Field Size Value Description 0 bLength 1 Number Size of this descriptor, in bytes 9 1 bDescriptorType 1 Constant CS_INTERFACE descriptor type. 2 bDescriptorSubtype 1 Constant FORMAT_SPECIFIC descriptor subtype. 3 wFormatTag 2 Constant MPEG. Constant identifying the precise format the AudioStreaming interface is using. USB Device Class Definition for Audio Data Formats Release 1.0 March 18, 1998 17 Offset Field Size Value Description 5 bmMPEGCapabilities 2 Bitmap Bitmap identifying the MPEG capabilities of the decoder. A bit set indicates that the capability is supported D2..0 Layer support D0 = Layer ID1 = Layer IID2 = Layer IIID3 MPEG-1 only.D4 MPEG-1 dual-channel.D5 MPEG-2 second stereo.D6 MPEG-2 7.1 channel augmentation.D7 Adaptive multi-channel prediction.D9..8 MPEG-2 multilingual support 00 = Not supported01 = Supported at Fs10 = Reserved11 = Supported at Fs and ½Fs.D15..10 Reserved. 7 bmMPEGFeatures 1 Bitmap Bitmap identifying the features the decoder supports. A bit set indicates that the feature is supported D3..0 Reserved.D5..4 Internal Dynamic Range Control 00 = not supported.01 = supported but not scalable.10 = scalable, common boost and cut scaling value.11 = scalable, separate boost and cut scaling value.D7..6 Reserved. 2.3.8.1.2 MPEG Format-Specific Requests The following paragraphs describe the Set and Get MPEG Control requests. Some of the requests control parameters that are also dependent on the content of the incoming MPEG data stream. In general, the behavior of the MPEG decoder is primarily controlled by the incoming bitstream. Parameters set using MPEG Control requests retain their setting, even if that setting is not applicable to the current incoming bitstream. As an example, consider a decoder that is receiving a stream containing two independent stereo channel pairs. In this case, the Select Second Stereo Control can be enabled so that the second stereo channel is reproduced over the Left and Right channel. If the incoming stream is now switched to a full 5.1 encoded stream, the Select Second Stereo Control has no more influence and the decoder overrides its setting and produces full 5.1 sound. However, if the incoming stream switches back to the previous format, the Select Second Stereo Control becomes active again and resumes its previous setting so that the second stereo channel is reproduced again over the Left and Right channel. USB Device Class Definition for Audio Data Formats Release 1.0 March 18, 1998 18 2.3.8.1.2.1 Set MPEG Control Request This request is used to set an attribute of an MPEG Control inside an AudioStreaming interface of the audio function. Table 2-8 Set MPEG Control Request Values bmRequest Type bRequest wValue wIndex wLength Data 00100001B SET_CURSET_MINSET_MAXSET_RES CS Zero and Interface Length of parameter block Parameter plock The bRequest field indicates which attribute the request is manipulating. The MIN, MAX and RES attributes are usually not supported for the Set request. Further details on which attributes are supported for which Controls can be found in Section 2.3.8.1.2.3, “MPEG Controls.” The wValue field specifies the Control Selector (CS) in the high byte and zero in the low byte. The Control Selector indicates which type of control this request is manipulating. If the request specifies an unknown or unsupported CS to that interface, the control pipe must indicate a stall. For a description of the parameter blocks for the different Controls that can be addressed through the Set AC-3 Control request, see Section 2.3.8.1.2.3, “MPEG Controls.” 2.3.8.1.2.2 Get MPEG Control Request This request returns the attribute setting of a specific MPEG Control inside an AudioStreaming interface of the audio function. Table 2-9 Get MPEG Control Request Values bmRequest Type bRequest wValue wIndex wLength Data 10100001B GET_CURGET_MINGET_MAXGET_RES CS Zero and Interface Length of parameter block Parameter block The bRequest field indicates which attribute the request is reading. The wValue field specifies the Control Selector (CS) in the high byte and zero in the low byte. The Control Selector indicates which type of control this request is addressing. If the request specifies an unknown or unsupported CS to that interface, the control pipe must indicate a stall. For a description of the parameter blocks for the different Controls that can be addressed through the Get AC-3 Control request, see Section 2.3.8.1.2.3, “MPEG Controls.” 2.3.8.1.2.3 MPEG Controls The following paragraphs present a detailed description of all possible AC-3 Controls an AudioStreaming interface can incorporate. For each Control, the layout of the parameter block together with the appropriate Control Selector is listed. The Control Selector codes are defined in Section A.3.1, “MPEG Control Selectors.” USB Device Class Definition for Audio Data Formats Release 1.0 March 18, 1998 19 2.3.8.1.2.3.1 Dual Channel Control The Dual Channel Control is used to select which of the two available channels in the MPEG-1 base stream is actually retrieved and reproduced over the Left and Right output channels. If this Control is addressed on a decoder that does not implement Dual Channel Control (D4 = ‘0’ in the bmMPEGCapabilities field of the MPEG format-specific descriptor), the control pipe must indicate a stall. The Dual Channel Control can have only the current setting attribute (CUR). The position of the Channel2Enable switch can be either TRUE or FALSE. When FALSE, Channel I is selected, and when TRUE, Channel II is selected. The current setting of the Control can be queried using a Get MPEG Control request. Table 2-10 Dual Channel Control Parameter Block Control Selector MP_DUAL_CHANNEL_CONTROL wLength 1 Offset Field Size Value Description 0 BChannel2Enable 1 Number The setting for the attribute of the Dual Channel Control. Channel I selected when FALSE, Channel II selected when TRUE. 2.3.8.1.2.3.2 Second Stereo Control The Second Stereo Control is used to select the second stereo channel pair that can be encoded in an MPEG-2 stream instead of the multi-channel stereophonic information (3/2). If this Control is addressed on a decoder that does not implement Second Stereo support (D5 = ‘0’ in the bmMPEGCapabilities field of the MPEG format-specific descriptor), the control pipe must indicate a stall. The Second Stereo Control can have only the current setting attribute (CUR). The position of the 2ndStereoEnable switch can be either TRUE or FALSE. When FALSE, the main stereo channel pair is selected; when TRUE, the second stereo channel pair is selected. The current setting of the Control can be queried using a Get MPEG Control request. Table 2-11 Second Stereo Control Parameter Block Control Selector MP_SECOND_STEREO_CONTROL wLength 1 Offset Field Size Value Description 0 B2ndStereoEnable 1 Number The setting for the attribute of the Second Stereo Control. Main stereo channel pair selected when FALSE, second stereo channel pair selected when TRUE. 2.3.8.1.2.3.3 Multilingual Control The Multilingual Control is used to select the multilingual channel actually retrieved from the MPEG stream. If this Control is addressed on a decoder that does not implement multilingual support (D9..8 = USB Device Class Definition for Audio Data Formats Release 1.0 March 18, 1998 20 ‘00’ in the bmMPEGCapabilities field of the MPEG format-specific descriptor), the control pipe must indicate a stall. The Multilingual Control supports only the CUR Control attribute. The valid range is from zero (0x00) to seven (0x07). The actual range depends on the incoming MPEG stream. It may contain only a limited number of multilingual channels (less than seven). The Multilingual Control honors the request to the best of its abilities. It may truncate the attribute values to its closest available settings. It will report these settings when queried during a Get MPEG Control request. Table 2-12 Multilingual Control Parameter Block Control Selector MP_MULTILINGUAL_CONTROL wLength 1 Offset Field Size Value Description 0 bMultiLingual 1 Number The setting for the attribute of the multilingual channel selection 0 = decode no channel1..7 = decode channel 1..78..255 = reserved 2.3.8.1.2.3.4 Dynamic Range Control The Dynamic Range Control (DRC) is used to enable or disable the Dynamic Range Control functionality of the decoder. If the decoder does not support Dynamic Range control (D5..4 = ‘00’ in the bmMPEGFeaturesfield of the MPEG format-specific descriptor), the control pipe must indicate a stall when receiving this request. The Dynamic Range Control can have only the current setting attribute (CUR). The position of the DRC switch can be either TRUE or FALSE. TRUE means that the MPEG decoder is using the Dynamic Range control words (possibly with additional scaling) contained in the MPEG bit stream to control the audio dynamic range. FALSE means the control words are being ignored, and the original signal dynamic range is being reproduced. The current setting of the Control can be queried using a Get MPEG Control request. Table 2-13 Dynamic Range Control Parameter Block Control Selector MP_DYN_RANGE_CONTROL wLength 1 Offset Field Size Value Description 0 bEnable 1 Bool The setting for the Dynamic Range Control CUR attribute. Enabled when TRUE, disabled when FALSE. 2.3.8.1.2.3.5 Scaling Control The Scaling Control is used to manipulate the single scaling coefficient used by MPEG decoders that implement a common boost/cut scaling value for Dynamic Range Control (D5..4 = ‘10’ in the bmMPEGFeatures field of the MPEG format-specific descriptor). If this Control is addressed on a non- ‘10’ decoder, the control pipe must indicate a stall. 1 - 6 - 11 - 16 - 21 - 26 - 31 ここを編集
https://w.atwiki.jp/eorzea14/pages/1188.html
TITLE 整形ルール * テキスト整形のルール [#oca54177] 通常は入力した文章がそのまま出力されます。 - HTMLのタグは効果がありません。書かれた文章はそのまま(「 font color="red" text /font 」といった形のまま)表示されます - 段落と段落の区切りには空行をはさんで下さい。空行をはさまず、連続している複数の行は同じ段落と解釈されます (連結して表示されます) これに加えて、特定のルールによるテキスト整形を行うことができます。以下では、プラグインについてはよく使われるものだけを簡略に説明しています。プラグインのオプションなど詳細な説明については [[PukiWiki/1.4/Manual/Plugin]] を参照してください。 ------------------------------------- #contents ------------------------------------- ** ブロック要素 [#vd593893] - ブロック要素は、インライン要素と他のブロック要素を子要素にすることができます。ただし、段落、見出し、水平線、#から始まるブロック要素は他のブロック要素を子要素にすることはできません。 - 空行はトップレベルのブロック要素の区切りになります。空行が現われると、すべてのブロック要素は終了します。 - ブロック要素は、他のブロック要素の子要素になることができます。 -- リスト構造と引用文は他のブロック要素を子要素にすることができます。子要素のブロック要素は親要素のレベルに従ってインデントされて表示されます。空行が現われるとブロック要素は終了します。 -- リスト構造と引用文のネストには3段階のレベルがありますが、リスト構造のレベルと引用文のレベルは独立しています。従って、リスト構造を引用文の子要素にする場合や引用文をリスト構造の子要素にする場合は、レベルを1段階増やさずに記述します。リスト構造を他のリスト構造の子要素にする場合や引用文を他の引用文の子要素にする場合は、レベルを1段階増やして記述します。 -- 他のブロック要素の子要素となっている引用文から脱出するとき、親のブロック要素を継続したい場合は行頭に 、 、 を記述します。 で第1レベルの引用文から、 で第2レベルの引用文から、 で第3レベルの引用文から脱出します。空行を記述すると引用文だけでなく親のブロック要素からも脱出します。 - ブロック要素となるプラグインは#?の形式になっています。((インライン要素となるプラグインやユーザ定義とは異なり、ブロック要素となるプラグインでは終端に;を付加する必要はありません。プラグインによっては正常に動作しなくなる場合があります。)) *** 段落 [#n6691793] インライン要素 他のブロック要素を明示しない限り、段落となります。 ~ インライン要素 行頭で ~ を指定した場合も段落になります。行頭書式の文字(~、-、+、 、 、|、#、//)を通常の文字として段落の先頭に書きたい場合は、行頭に~を記述して書くことができます。 - 段落の先頭は1文字分字下げされます。但し、番号なしリスト構造、番号付きリスト構造、引用文内の段落では字下げされません。定義リスト内の段落の先頭は1文字分字下げされます。 - 段落は、新たなブロック要素が現われるまで継続します。 - 段落は、他のブロック要素の子要素になることができます。 - 段落は、他のブロック要素を子要素にすることはできません。 *** 引用文 [#af1781b1] インライン要素 行頭で を指定すると、引用文になります。引用文は 、 、 の3レベルあります。 - 引用文の中は、ブロック要素を明示しない限り、段落となります。 - 引用文は、空行が現われるまで継続します。 - 引用文内の段落は、新たな引用文またはブロック要素が現われるまで継続します。 - 引用文は、他のブロック要素の子要素になることができます。他の引用文の子要素にする場合は、レベルを1段増やして記述します。リスト構造の子要素にする場合はレベルを1段増やさずに記述します。 - 引用文は、他のブロック要素を子要素にすることができます。引用文の子要素となるリスト構造はレベルを1段増やさずに記述します。 - リスト構造内の引用文から脱出する場合で、リスト構造を継続する場合は、 、 、 を行頭に記述します。 *** リスト構造 [#q8abd9a8] - インライン要素 行頭で - を指定すると、番号なしリストになります。番号なしリストは -、--、--- の3レベルあります。 - 番号なしリストは、他のブロック要素の子要素になることができます。他のリスト構造の子要素にする場合は、レベルを1段増やして記述します。引用文の子要素にする場合は、レベルを増やさずに記述します。 - -の直後に ~を記述すると段落を子要素にすることができます。 -番号なしリストは、 リストの先頭がインライン要素または段落である場合に限り 、リストの次の行に他のブロック要素を記述することで、他のブロック要素を子要素にすることができます。 + インライン要素 行頭で + を指定すると、番号付きリストになります。番号付きリストは +、++、+++ の3レベルあります。 - 番号付きリストは、他のブロック要素の子要素になることができます。他のリスト構造の子要素にする場合は、レベルを1段増やして記述します。引用文の子要素にする場合は、レベルを増やさずに記述します。 - + の直後に ~ を記述すると段落を子要素にすることができます。 - 番号付きリストは、 リストの先頭がインライン要素または段落である場合に限り 、リストの次の行に他のブロック要素を記述することで、他のブロック要素を子要素にすることができます。 定義語 | 説明文 行頭を で始め、| 記号で区切ると、定義リストになります。定義リストは 、 、 の3段階あります。定義リストの定義語、説明文は省略することができます。複数の連続した定義リストを記述し、2つ目以降の定義語を省略することで1つの定義語に対する複数の説明文を記述することができます。 - 行中に | がないと定義リストにはなりません。 - 定義語・説明文は、インライン要素のみ記述することができます。 - 定義リストは、他のブロック要素の子要素になることができます。他のリスト構造の子要素にする場合は、レベルを1段増やして記述します。引用文の子要素にする場合は、レベルを増やさずに記述します。 - | の直後に ~ を記述すると段落を子要素にすることができます。 - 定義リストは、定義リストの次の行に他のブロック要素を記述することで、他のブロック要素を子要素にすることができます。 *** 整形済みテキスト [#g72f3a72] 行頭が半角空白で始まる行は整形済みテキストとなります。行の自動折り返しは行なわれません。 - 整形済みテキストは、他のブロック要素の子要素になることができます。 - 整形済みテキストは、他のブロック要素を子要素にすることができません。 - 整形済みテキストは、すべての子要素を文字列として扱います。 *** 表組み [#k7c49df4] | インライン要素 | インライン要素 | 行頭から | でインライン要素を区切ることで表組みになります。 - 各要素の先頭に下記の記述子を指定できます。 LEFT CENTER RIGHT BGCOLOR(色) COLOR(色) SIZE(サイズ) -- 要素の表示位置及び背景色・文字色・文字サイズ(px単位)を指定します。デフォルトは左寄せになります。 - |表組みの |各セルの要素の配置に|関するサンプル | |COLOR(crimson) 左寄せ |CENTER センタリング |BGCOLOR(yellow) RIGHT 右寄せ| |RIGHT 右寄せ |左寄せ |CENTER センタリング | - 行末にcを記述すると、書式指定行となります。書式指定行では、次の記述子が指定できます。 LEFT CENTER RIGHT BGCOLOR(色) COLOR(色) SIZE(サイズ) -- 記述子の後ろに数値を記述すると、セル幅がpx単位で指定できます。 - 行末にhを記述すると、ヘッダ行(thead)になります。 - 行末にfを記述すると、フッタ行(tfoot)になります。 - セル内のインライン要素の先頭に~を付けると、ヘッダ(th)になります。 - セル内に を単独で記述すると右のセルと連結します(colspan)。 - セル内に ~ を単独で記述すると上のセルと連結します(rowspan)。 - 表組みは、他のブロック要素の子要素になることができます。 - 表組みは、他のブロック要素を子要素にすることができません。 *** CSV形式の表組み [#zc726b7e] ,データ,データ,… ~行頭でカンマ(,)を記述し、インライン要素をカンマ区切りで記述すると表組みになります。 - インライン要素はダブルクォーテーション(")で囲むことができます。ダブルクォーテーションで囲むことで、カンマ(,)を含むインライン要素を記述できます。 - ダブルクォーテーション(")で囲んだデータの中で、ダブルクォーテーションを2つ("")続けることで、ダブルクォーテーション(")を含むインライン要素を記述できます。 - インライン要素の代わりにイコールを2つ(==)記述すると、colspanを意味します。 - インライン要素の左に1つ以上の半角空白文字を記述すると右寄せに、インライン要素の左右に1つ以上の半角空白文字を記述するとセンタリングになります。 - 表組みは、他のブロック要素の子要素になることができます。 - 表組みは、他のブロック要素を子要素にすることができません。 *** 見出し [#z15343da] * インライン要素 行頭で * を記述すると、見出しになります。見出しは *、**、*** の3段階あります。 - 見出しは、他のブロック要素の子要素になることはできません。見出しが現われると他のブロック要素は終了します。 - 見出しは、他のブロック要素を子要素にすることはできません。 *** 目次 [#l6dfa631] #contents 行頭で #contents を記述すると、見出しに基づいて目次を作成します。一般的に #contents はページの最初のほうに記述します。 - 目次は、他のブロック要素の子要素になることができますが、トップレベルに設置することを前提に左マージンを設定してありますので、他のブロック要素の子要素にはしないでください。 - 目次は、他のブロック要素を子要素にすることはできません。 *** 左寄せ・センタリング・右寄せ [#bbc1f21c] LEFT インライン要素 CENTER インライン要素 RIGHT インライン要素 行頭で LEFT 、 CENTER 、 RIGHT を記述すると、インライン要素が左寄せ、センタリング、右寄せされます。 - LEFT 、CENTER 、RIGHT は、他のブロック要素の子要素になることができます。 - LEFT 、CENTER 、RIGHT は、他のブロック要素を子要素にすることができません。 *** 水平線 [#s9799d2c] --------------------------------------------- 行頭で4つ以上の - を書くと水平線になります。 - 水平線は、他のブロック要素の子要素になることはできません。水平線が現われると他のブロック要素は終了します。 - 水平線は、他のブロック要素を子要素にすることはできません。 #hr 行頭で #hr を記述すると、区切り線になります。区切り線は上位のブロック要素の幅の60%の長さの水平線がセンタリングされて引かれます。 - 区切り線は、他のブロック要素の子要素になることができます。 - 区切り線は、他のブロック要素を子要素にすることはできません。 *** 行間開け [#j2656808] #br 行頭で #br を記述すると、ブロック要素間またはブロック要素内で行間を開けることができます((#brをブロック要素の直後の空行の次に指定すればブロック要素間の行間、ブロック要素の直後に指定すればそのブロック要素内での行間を開けることになります。#brは、行末改行と違って、次の行の行頭書式を無効にはしません))。 - 行間開けは、他のブロック要素の子要素になることができます。 - 行間開けは、他のブロック要素を子要素にすることはできません。 *** 添付ファイル・画像の貼り付け [#p1971296] #ref(添付ファイル名) #ref(ファイルのURL) 行頭で #ref を記述すると、添付ファイルまたは指定されたURLにあるファイルへのリンクを貼り付けることができます。ファイルが画像ファイルの場合は、その画像を表示します。 - #ref には、カンマで区切って下記のパラメタを指定できます。パラメタを省略した場合はデフォルト値となります。 添付ファイルのページ -- 添付ファイルが存在するページ名を指定します。デフォルトは現在のページです。 -- このパラメタを指定する場合は、添付ファイル名の次に記述します。 - left center right -- ファイルへのリンク・画像を表示する位置を指定します。デフォルトではセンタリングされます。 - wrap nowrap -- ファイルへのリンク・画像を枠で囲むかどうかを指定します。デフォルトは囲みません。 - around -- テキストの回り込みを指定します。デフォルトでは回り込みを行ないません。 - nolink -- デフォルトでは添付ファイルへのリンクが張られますが、nolinkを指定するとリンクを張りません。 - 代替文字列 -- ファイル名の代わりに表示する文字列や画像の代替文字列を指定できます。指定しない場合は、ファイル名になります。 -- 代替文字列には文字列以外のインライン要素を含めることはできません。ページ名、文字列以外のインライン要素を記述しても文字列として扱われます。 -- このパラメタを指定する場合は、最後に記述します。 - #refは、他のブロック要素の子要素になることができます。 - #refは、他のブロック要素を子要素にすることはできません。 *** テキストの回り込みの解除 [#a800a528] #clear 行頭で #clear を記述すると、 #ref で指定したテキストの回り込みを解除します。 #clear を指定しなくても、記事の末尾でテキストの回り込みが自動的に解除されます。 - #clearは、他のブロック要素の子要素になることができます。 - #clearは、他のブロック要素を子要素にすることができません。 // #img(,clear) // ~#clearと同じ。 *** フォーム [#x23849ca] #comment 行頭で #comment を記述すると、コメントを挿入するためのフォームが埋め込まれます。 - #commentは、他のブロック要素の子要素になることができますが、トップレベルに設置することを前提に左マージンを設定してありますので、他のブロック要素の子要素にはしないでください。 - #commentは、他のブロック要素を子要素にすることはできません。 #pcomment 行頭で #pcomment を記述すると、コメントを挿入するためのフォームが埋め込まれます。 #comment とは異なり、コメントは別ページに記録されます。また、コメントに対するレスポンスを階層状に表示します。 - #pcommentは、他のブロック要素の子要素になることができますが、トップレベルに設置することを前提に左マージンを設定してありますので、他のブロック要素の子要素にはしないでください。 - #pcommentは、他のブロック要素を子要素にすることはできません。 #article 行頭で#articleを記述すると、簡易掲示板のフォームが埋め込まれます。 - #articleは、他のブロック要素の子要素になることができますが、トップレベルに設置することを前提に左マージンを設定してありますので、他のブロック要素の子要素にはしないでください。 - #articleは、他のブロック要素を子要素にすることはできません。 #vote(選択肢1,選択肢2,...) 行頭で #vote を記述すると、簡易投票フォームが埋め込まれます。 - 選択肢は文字列、ページ名、InterWiki、リンクを含めることができます。その他のインライン要素を含めることができません。 - #voteは、他のブロック要素の子要素になることができますが、トップレベルに設置することを前提に左マージンを設定してありますので、他のブロック要素の子要素にはしないでください。 - #voteは、他のブロック要素を子要素にすることはできません。 ** インライン要素 [#l7110f11] - インライン要素は、必ずブロック要素の子要素になっています。 -- 行頭書式でブロック要素を明示しない場合は、段落の子要素となります。 -- 行頭書式でブロック要素を明示した場合は、指定したブロック要素の子要素になります。 - 特定のインライン要素は、他のインライン要素を子要素にすることができます。 - インライン要素はブロック要素を子要素にすることはできません。 - インライン要素となるプラグイン及びユーザー定義は amp;?; の形式になっています。 - インライン要素となるプラグインに対してオプションと子要素を指定する場合は、 amp;プラグイン名(オプション){子要素}; の形式になります。 *** 文字列 [#bd24e4ad] 文字列 文字列はインライン要素です。 - 文字列は、他のインライン要素の子要素になることができます。 - 文字列は、他のインライン要素を子要素にすることができません。 *** 改行 [#f383c24f] インライン要素~ 行末に~を書くと行末改行になります。行末改行はブロック要素内での改行になります。 - 行末改行の次の行の行頭書式は無効になり、文字列として扱われます。 - 行末改行は、他のインライン要素の子要素になることはできません。 - 行末改行は、他のインライン要素を子要素にすることはできません。 - 行末改行は、定義リストの定義語、表組みの要素、#で始まるブロック要素のパラメタの中では使用できません。 br; 行中に amp;br; を書くと、そこで改行されます。行末の ~ と違い、定義リストの定義語や表組の要素、# で始まるブロック要素のパラメタの中でも使用できます。 - 行中改行は、他のインライン要素の子要素になることができます。 - 行中改行は、他のインライン要素を子要素にすることはできません。 *** 強調・斜体 [#n38a029f] インライン要素 行中のインライン要素を #39; #39; ではさむと、インライン要素が 強調表示 になります。 - 強調は、他のインライン要素の子要素になることができます。 - 強調は、他のインライン要素を子要素にすることができます。 インライン要素 行中のインライン要素を #39; #39; #39; ではさむと、インライン要素が 斜体表示 になります。 - 斜体は、他のインライン要素の子要素になることができます。 - 斜体は、他のインライン要素を子要素にすることができます。 *** 文字サイズ [#t513b12d] size(サイズ){インライン要素}; 行中に amp;size を書くとインライン要素の文字サイズを指定することができます。サイズはピクセル単位(px)で指定します。例えば20を指定すると、SIZE(20){20ピクセルの文字の大きさ}になります。 - 文字サイズは、他のインライン要素の子要素になることができます。 - 文字サイズは、他のインライン要素を子要素にすることができます。 *** 文字色 [#sf40816a] color(文字色,背景色){インライン要素}; 行中に amp;color と書くとインライン要素の color(crimson){文字色};と color(blue,crimson){背景色};を指定することができます。背景色は省略できます。 - 色の指定は、次のいずれかの形式で行ないます。 -- [[色キーワード]] -- #16進数6桁 -- #16進数3桁 - 文字色は、他のインライン要素の子要素になることができます。 - 文字色は、他のインライン要素を子要素にすることができます。 *** 取消線 [#r81ec79f] %%インライン要素%% 行中のインライン要素を #37; #37;ではさむと、インライン要素に%%取消線%%が付きます。 - 取消線は、他のインライン要素の子要素になることができます。 - 取消線は、他のインライン要素を子要素にすることができます。 ***注釈 [#s21cf12e] ((インライン要素)) 行中でインライン要素を #40; #40; と #41; #41; ではさむと、注釈((注釈のサンプル))が作成され、行中に注釈へのリンクが貼られます。 - 注釈は、他のインライン要素の子要素になることができます。親要素は注釈文ではなく、注釈へのリンクに反映されます。 - 注釈は、他のインライン要素を子要素にすることができます。子要素は注釈文に反映されます。 // p; //注釈内に amp;p;を書くと改段落になります ((注釈内改段落は、本来はブロック要素ですが、PukiWikiでは注釈をインラインで記述するため、インライン要素として記述する必要があります。他のインライン要素の子要素にはできないことに留意して使用する必要があります。))。 //-注釈内改段落は、他のインライン要素の子要素になることはできません。 //-注釈内改段落は、他のインライン要素を子要素にすることはできません。 *** 添付ファイル・画像の貼り付け [#v181e939] ref(添付ファイル名); ref(ファイルのURL); 行中で amp;ref を記述すると、添付ファイルまたは指定されたURLにあるファイルへのリンクを貼り付けることができます。ファイルが画像ファイルの場合は、その画像を表示します。 - amp;ref には、カンマで区切って下記のパラメタを指定できます。パラメタを省略した場合はデフォルト値となります。 添付ファイルのページ -- 添付ファイルが存在するページ名を指定します。デフォルトは現在のページです。 -- このパラメタを指定する場合は、添付ファイル名の次に記述します。 - nolink -- デフォルトでは添付ファイルへのリンクが張られますが、nolink を指定するとリンクを張りません。 - 代替文字列 -- ファイル名の代わりに表示する文字列や画像の代替文字列を指定できます。指定しない場合は、ファイル名になります。 -- 代替文字列には文字列以外のインライン要素を含めることはできません。ページ名、文字列以外のインライン要素を記述しても文字列として扱われます。 -- このパラメタを指定する場合は、最後に記述します。 - amp;ref は、他のインライン要素の子要素になることができます。 - amp;ref は、他のインライン要素を子要素にはできません。 *** ルビ構造 [#j137cd8e] ruby(ルビ){インライン要素}; 行中で amp;ruby を書くとインライン要素に対するルビをふることができます。ルビに対応していないブラウザではルビが本文中に ( と ) に囲まれて表示されます。 - ルビ構造のルビにはインライン要素を記述します。ただし、ルビの特性上、期待通りの表示になるとは限りません。 - ルビ構造は、他のインライン要素の子要素になることができます。 - ルビ構造は、他のインライン要素を子要素にすることができます。 - ルビ構造をルビ構造の子要素にはできません(ネストはできません)。 - 注釈内や文字サイズを小さくしている部分での使用は、ルビが判読できなくなるので避けてください。 *** アンカーの設定 [#mb297616] aname(アンカー名); aname(アンカー名){インライン要素}; 行中で amp;aname を記述するとリンクのアンカーを設定することができます。リンクの飛び先にしたい位置に記述します。 - アンカー名は、半角アルファベットから始まる半角アルファベット・数字・ハイフン・アンダースコアからなる文字列を指定します。 - アンカー名の中には、全角文字や半角空白文字、半角記号を含めることはできません。 - アンカー設定は、他のインライン要素の子要素になることができます。 - アンカー設定は、他のインライン要素を子要素にすることができます。 *** カウンタ表示 [#h7beb6ac] counter; counter(オプション); 行中で amp;counter を記述するとそのページにアクセスした人の数を表示することができます。 - amp;counter には次のオプションを指定できます。オプションを省略した場合はallが指定されたものとみなされます。 today -- 今日のアクセス数を表示します。 - yesterday -- 昨日のアクセス数を表示します。 - all -- アクセス総数を表示します。 - カウンタ表示は、他のインライン要素の子要素になることができます。 - カウンタ表示は、他のインライン要素を子要素にはできません。 *** オンライン表示 [#ab42f827] online; 行中で amp;online を記述すると現在アクセス中の人数を表示することができます。 - オンライン表示は、他のインライン要素の子要素になることができます。 - オンライン表示は、他のインライン要素を子要素にはできません。 ***バージョン表示 [#f09f9e4b] version; 行中で amp;version を記述するとPukiWikiのバージョンを表示することができます。 - バージョン表示は、他のインライン要素の子要素になることができます。 - バージョン表示は、他のインライン要素を子要素にはできません。 *** WikiName [#u8188184] WikiName 行中で、1つ以上の大文字→1つ以上の小文字→1つ以上の大文字→1つ以上の小文字の組合わせからなる半角//文字列はWikiNameになります。 - WikiNameの中には、全角文字や半角空白文字、記号、数字を含めることはできません。 - WikiNameは、PukiWiki内のページ名になります。すでに存在するページであればそのページへのリンクが自動的に貼られます。存在しない場合はWikiNameの後ろに?が自動的に付き、そのページを新規作成するためのリンクが貼られます。 - WikiNameは、他のインライン要素の子要素になることができます。 - WikiNameは、他のインライン要素を子要素にはできません。 *** ページ名 [#gce935d9] [[ぷきうぃき]] 行中で #91; #91; と #93; #93; で囲まれた文字列はページ名になります。 - ページ名の中には、全角文字、記号、数字、半角空白文字を含めることができます。 - ページ名の中には、"# amp; を含めることはできません。 - すでに存在するページであればそのページへのリンクが自動的に貼られます。存在しない場合はページ名の後ろに?が自動的に付き、そのページを新規作成するためのリンクが貼られます。 [[ページ名#アンカー名]] - ページ名にアンカー名をつけることもできます。 - ページ名は、他のインライン要素の子要素になることができます。 - ページ名は、他のインライン要素を子要素にはできません。 *** InterWiki [#g0dec0fe] [[InterWikiName ページ名]] 行中のページ名形式の文字列の中で、 で2つの文字列を区切るとInterWikiになります。 の前にはInterWikiNameのページで定義したInterWikiNameを、 の後ろにはページ名を記述します。 [[InterWikiName ページ名#アンカー名]] - ページ名の後ろにアンカー名をつけることもできます。 - InterWikiNameの中には、全角文字を含めることができます。 - InterWikiNameの中には、半角空白文字を含めるができます。 - InterWikiは、他のインライン要素の子要素になることができます。 - InterWikiは、他のインライン要素を子要素にはできません。 *** リンク [#bd6593e1] [[リンク名 URL]] 行中のInterWikiNameの形式の文字列の中で、 の前に任意のリンク名を、 の後ろにURLを記述すると、そのリンク名でURLに対するリンクを貼ることができます。 - リンク名には、全角文字や半角空白文字を含めることができます。メールアドレスを指定する場合は、mailto を書かずにアドレスだけを記述します。 http //www.example.com/ https //www.example.com/ ftp //ftp.example.com/ news //news.example.com/ a class="__cf_email__" href="/cdn-cgi/l/email-protection" data-cfemail="c6a0a9a986a3bea7abb6aaa3e8a5a9ab" [email #160;protected] /a script cf-hash= f9e31 type="text/javascript" /* ![CDATA[ */!function(){try{var t="currentScript"in document?document.currentScript function(){for(var t=document.getElementsByTagName("script"),e=t.length;e--;)if(t[e].getAttribute("cf-hash"))return t[e]}();if(t .previousSibling){var e,r,n,i,c=t.previousSibling,a=c.getAttribute("data-cfemail");if(a){for(e="",r=parseInt(a.substr(0,2),16),n=2;a.length-n;n+=2)i=parseInt(a.substr(n,2),16)^r,e+=String.fromCharCode(i);e=document.createTextNode(e),c.parentNode.replaceChild(e,c)}}}catch(u){}}();/* ]] */ /script - 行中に直接、URLを記述した場合は自動的にそのURLに対するリンクが貼られます。 - 記述したURLが画像ファイルである場合は、その画像を表示します。 - リンクは、他のインライン要素の子要素になることができます。 - リンクは、他のインライン要素を子要素にはできません。 *** エイリアス [#u1026558] [[エイリアス名 ページ名]] 行中のページ名形式の文字列の中で、 で2つの文字列を区切るとエイリアスになります。 の前にはエイリアス名を、 の後ろにはページ名を記述します。 エイリアスはPukiWiki内のページ名とは別のエイリアス名で、指定したページへのリンクを貼ります。 [[エイリアス名 ページ名#アンカー名]] [[エイリアス名 #アンカー名]] - ページ名にアンカー名を付け加えてアンカーへのリンクを貼ることができます。ページ名とアンカー名の間には#をつけます。カレントページのアンカーへリンクを貼る場合はページ名を省略することができます。 [[エイリアス名 http //www.example.com/]] [[エイリアス名 https //www.example.com/]] [[エイリアス名 ftp //ftp.example.com/]] [[エイリアス名 news //news.example.com/]] [[エイリアス名 a class="__cf_email__" href="/cdn-cgi/l/email-protection" data-cfemail="593f3636193c21383429353c773a3634" [email #160;protected] /a script cf-hash= f9e31 type="text/javascript" /* ![CDATA[ */!function(){try{var t="currentScript"in document?document.currentScript function(){for(var t=document.getElementsByTagName("script"),e=t.length;e--;)if(t[e].getAttribute("cf-hash"))return t[e]}();if(t .previousSibling){var e,r,n,i,c=t.previousSibling,a=c.getAttribute("data-cfemail");if(a){for(e="",r=parseInt(a.substr(0,2),16),n=2;a.length-n;n+=2)i=parseInt(a.substr(n,2),16)^r,e+=String.fromCharCode(i);e=document.createTextNode(e),c.parentNode.replaceChild(e,c)}}}catch(u){}}();/* ]] */ /script ]] [[エイリアス名 InterWikiName ページ名]] [[エイリアス名 InterWikiName ページ名#アンカー名]] - エイリアスをURLやInterWikiと組み合わせることもできます。 [[エイリアス名 http //www.example.com/]] [[エイリアス名 https //www.example.com/]] [[エイリアス名 ftp //ftp.example.com/]] [[エイリアス名 news //news.example.com/]] [[エイリアス名 a class="__cf_email__" href="/cdn-cgi/l/email-protection" data-cfemail="d9bfb6b699bca1b8b4a9b5bcf7bab6b4" [email #160;protected] /a script cf-hash= f9e31 type="text/javascript" /* ![CDATA[ */!function(){try{var t="currentScript"in document?document.currentScript function(){for(var t=document.getElementsByTagName("script"),e=t.length;e--;)if(t[e].getAttribute("cf-hash"))return t[e]}();if(t .previousSibling){var e,r,n,i,c=t.previousSibling,a=c.getAttribute("data-cfemail");if(a){for(e="",r=parseInt(a.substr(0,2),16),n=2;a.length-n;n+=2)i=parseInt(a.substr(n,2),16)^r,e+=String.fromCharCode(i);e=document.createTextNode(e),c.parentNode.replaceChild(e,c)}}}catch(u){}}();/* ]] */ /script ]] - URLを指定する場合は、 の代わりに も使用できます。 - エイリアス名の中には、全角文字を含めることができます。 - エイリアス名の中には、半角空白文字を含めることができます。 - 階層化されたページでは、ページ名を相対指定することができます。 - エイリアスは、他のインライン要素の子要素になることができます。 - エイリアスは、他のインライン要素を子要素にできます。 *** タブコード [#d2561bef] t; 行中で amp;t; と書くと、タブコードに置換されます。 通常、フォーム内ではキーボードからタブコードを直接入力できない((クリップボードからの貼り付けの場合はタブコードを直接入力できます。))ので、タブコードを入力したい位置に amp;t;を記述すると、保存時にタブコードに置換します。 - タブコードは、記事が書き込まれるときに置換されて記録されます。 - タブコードは、他のインライン要素の子要素になることができます。 - タブコードは、他のインライン要素を子要素にはできません。 *** ページ名置換文字 [#hc95e608] page; fpage; 行中で amp;page; 及び amp;fpage; と書くと、編集中のページ名に置換されます。ページ名が階層化されたページで「hogehoge/hoge」となっている場合、 amp;page; は「hoge」に、 amp;fpage; は「hogehoge/hoge」に置換されます。階層化されていないページでは、 amp;page; も amp;fpage; も同じになります。 - ページ名置換文字は、記事が書き込まれるときに置換されて記録されます。 - ページ名置換文字は、他のインライン要素の子要素になることができます。 - ページ名置換文字は、他のインライン要素を子要素にはできません。 *** 日時置換文字 [#f03aaf0a] date; time; now; - 行中で amp;date; と書くと、更新時の日付に置換されます - 行中で amp;time; と書くと、更新時の時刻に置換されます - 行中で amp;now; と書くと、更新時の日時に置換されます date? time? now? - PukiWiki 1.3系との後方互換性のために、 date #63;、 time #63;、 now #63; についても使用できるようにしてあります。 - amp;date;、 amp;time;、 amp;now;は、記事が書き込まれるときに置換されて記録されます。 - amp;date;、 amp;time;、 amp;now;は、他のインライン要素の子要素になることができます。 - amp;date;、 amp;time;、 amp;now;は、他のインライン要素を子要素にはできません。 _date; _time; _now; - %%行中で amp;_date; と書くと、表示時の日付に置換されて出力されます。%% - %%行中で amp;_time; と書くと、表示時の時刻に置換されて出力されます。%% - %%行中で amp;_now; と書くと、表示時の日時に置換されて出力されます。%% lastmod; lastmod(ページ名); - 行中で amp;lastmod; と書くと、そのページの最終更新日時に置換されて出力されます。 - ページ名を指定すると、その指定されたページの最終更新日時に置換されて出力されます。 - %% amp;_date;、 amp;_time;、 amp;_now;、%% amp;lastmod;は、記事が表示されるときに置換されて出力されます。 - %% amp;_date;、 amp;_time;、 amp;_now;、%% amp;lastmod;は、他のインライン要素の子要素になることができます。 - %% amp;_date;、 amp;_time;、 amp;_now;、%% amp;lastmod;は、他のインライン要素を子要素にはできません。 *** 文字参照文字 [#oc8e0c4c] 文字参照は、SGMLで定義されている文字参照文字( amp;copy;や amp;reg;など)のほか、下記の独自の文字参照文字が使用できます。 heart; smile; bigsmile; huh; oh; wink; sad; worried; - 行中で amp;heart;と書くと、ハートマーク heart; に置換されて出力されます。 - 行中で amp;smile;と書くと、 smile; に置換されて出力されます。 - 行中で amp;bigsmile;と書くと、 bigsmile; に置換されて出力されます。 - 行中で amp;huh;と書くと、 huh; に置換されて出力されます。 - 行中で amp;oh;と書くと、 oh; に置換されて出力されます。 - 行中で amp;wink;と書くと、 wink; に置換されて出力されます。 - 行中で amp;sad;と書くと、 sad; に置換されて出力されます。 - 行中で amp;worried;と書くと、 worried; に置換されて出力されます。 - 文字参照文字は、表示されるときに置換されます。 - 文字参照文字は、他のインライン要素の子要素になることができます。 - 文字参照文字は、他のインライン要素を子要素にはできません。 *** 数値参照文字 [#ibd49862] #10進数; #x16進数; 行中で amp;# と ; の間に10進数を、 amp;#x と ;の間に16進数を書くと、Unicodeを数値参照して表示します。キーボードから直接入力できない文字やJIS第3水準・第4水準の文字などの表示に使用します。たとえば、内田百 amp;#38290;と入力すると、内田百 #38290;と表示されます。 - 数値参照文字は、表示されるときに置換されます。 - 数値参照文字は、他のインライン要素の子要素になることができます。 - 数値参照文字は、他のインライン要素を子要素にはできません。 - 16進数は半角小文字で指定する必要があります(XHTML 1.0 第2版から小文字に限定されました)。 ** その他 [#w8d0fa5a] *** コメント行 [#fa693c95] // コメント 行頭で // を指定すると、コメント行になります。コメント行は出力されない行です。 - コメント行は、他の要素と無関係に行単位でどの位置にも記述できます。 - コメント行は、前後の他の要素に何ら影響を及ぼしません。 }} #multilang(en){{ *Inline Elements [#v2f727fb] In the following table you can see how to use the inline text elements of PukiWiki | Format example | Formatting code | Comment |h | Emphasised text | #39; #39;Emphasised text #39; #39;|Put the text between two single quotes.| | Italic text | #39; #39; #39;Italic text #39; #39; #39;|Put the text between three single quotes.| |Text with br;a break|Text with amp;br; a break|| | size(24){Text in font size 24};| amp;size(24){Text in font size 24};|| | color(purple){Purple text};| amp;color(purple){Purple text};|| | color(#123456){Colored text};| amp;color(#123456){Colored text};|| | color(red,yellow){Red text with yellow backbround};| amp;color(red,yellow){Red text with yellow background};|| |%%Strikethrough text%%| #37; #37;Strikethrough text #37; #37;|| |((This is the footnote s text))| #40; #40;This is the footnote s text #41; #41;|This inserts a footnote with the given text at the bottom of the page.| | ref(http //www.example.com);| amp;ref(http #47; #47;www.example.com);|This inserts a reference.| | aname(Anchor);| amp;aname(Anchor);|This inserts an invisible anchor for hyperlinking.| | counter;| amp;counter;|This inserts a counter. What does it count, in fact?| | online;| amp;online;|What does this do, in fact?| | version;| amp;version;|I guess this inserts the current version number of PukiWiki itself?| |WikiName| #87;ikiName|This create a link to another pages on the same Pukiwiki site.| |[[BracketName]]| #x5b; #x5b; #x42;racketName #x5d; #x5d;|This creates a link to another page on a same Pukiwiki site.| |[[External link http //www.example.com]]| #91; #91;External link http #47; #47;www.example.com]]|This creates links to pages on other web sites.| |[[InterWikiLink page name]]| #91; #91;Inter #87;iki #76;ink page name]]|This creates a link to another Wiki, right?| |Paragraph| ~Paragraph|| |Inline text br;Inline text| Inline text amp;br;Inline text| amp;br; is replaced with a line break.| |Inline text~ br;#plug-in| Inline text~ br;#plug-in|The ~, followed by a line break works as an escape character that disables the # character, which normally activates a plugin.| br; *Block Elements [#veaf1193] ~In what follows, examples for the block elements will be given. First, you will see the example as it should be entered into PukiWiki,and next is the result you ll get. **Preformatted text [#v6d2a929] Preformatted text. There is a space in front of this text. Preformatted text. There is a space in front of this text. br; **Headings [#n6275890] *Heading level 1 **Heading level 2 ***Heading level 3 There are no examples of how the heading looks like here, because they would disturb the structure of this document. But take a look at the headings above and below to see how it might look. br; **Paragraphs and the tilde as and escape character [#a6ab3c0e] ~Paragraph ~*This will not be displayed as a heading ~Paragraph ~*This will not be displayed as a heading Line break escape example~ #comment (disables first letter formatting rule, which is used to activate plug-ins.) Line break escape example~ #comment (disables first letter formatting rule, which is used to activate plug-ins.) br; **Quotes [#q0849799] Quote Level 1 Quote Level 2 Quote Level 3 Quote Level 1 Quote Level 2 Quote Level 3 br; **Unordered lists [#kbd4d759] -Unordered list level 1 --Unordered list level 2 ---Unordered list level 3 -Unordered list level 1 --Unordered list level 2 ---Unordered list level 3 br; **Ordered lists [#z291b8c3] +Ordered list level 1 ++Ordered list level 2 +++Ordered list level 3 +Ordered list level 1 ++Ordered list level 2 +++Ordered list level 3 br; **Definition lists [#z93a6096] Definition|Description Definition|Description br; **Comments [#l279ee0b] A comment is hidden here //Comment A comment is hidden here //Comment br; **Horizontal Rule [#s0439a0c] ---- ---- **Table [#jecf0233] *** Simple [#v90083b4] |aaa|bbb|ccc| |111|222|333| |aaa|bbb|ccc| |111|222|333| *** Advanced [#n6c24e02] |RIGHT 100|CENTER |SIZE(20)|c -------------- format definition line |~Header|Header2|Header3|h ----------------- header line |CENTER lowspan|COLOR(red) bbb|ccc| |~|222|COLOR(#ff0000) BGCOLOR(yellow) 333| |footer| |CENTER colspan|f ----------------- footer line |RIGHT 100|CENTER |SIZE(20)|c |~Header|Header2|Header3|h |CENTER lowspan|COLOR(red) bbb|ccc| |~|222|COLOR(#ff0000) BGCOLOR(yellow) 333| |footer| |CENTER colspan|f **CSV Table [#pece650e] ,aaa,bbb,ccc ,111,222,333 ,aaa,bbb,ccc ,111,222,333 //**Plug-ins // #contents // (This is the table of contents plugin) // //#contents //(This is the table of contents plugin) // The above does not work? *Special entities [#nb14c38a] // These expressions do not work with the default settings. // See pukiwiki.ini.php and default.ini.php. //|FormattingSandbox| amp;page;|This one doesn t seem to work?| //|2003-10-28| amp;date;|This one doesn t seem to work?| //|03 33 43| amp;time;|This one doesn t seem to work?| //|2003-10-28 ( #28779;) 03 33 43| amp;now;|This one doesn t seem to work?| //|2003-10-15|date ?| This one is replaced when editing is finished.| //|12 35 09|time ?| This one is replaced when editing is finished.| //|2003-10-15 ( #27700;) 12 35 09|now ?| This one is replaced when editing is finished.| | Special entity | Code | Comments |h | heart;| amp;heart;|| | copy;| amp;copy;|| | reg;| amp;reg;|| | trade;| amp;trade;|| | sup2;| amp;sup2;|| | sup3;| amp;sup3;|| | nbsp;| amp;nbsp;|You may not be able to see it, br;but there is a non-breaking space in the first column. br; It prevents a line from being broken at that point.| | #10;| amp;#10;|You can define any unicode character up to #32000 using this code. Please note that you need a font that supports the character, or you will not be able to see it.| | #19990;| amp;#19990;|You can use characters from all over the world!| | #9794;| amp;#9794;|It is a man s world.| | #9791;| amp;#9792;|But it would be nothing without a woman.| | #8734;| amp;#8734;|We could go on like this forever...| | #937;| amp;#937;|But here it must end.| br; *Nesting Elements [#vd8a37d7] **Paragraph Element-Emphasize Element [#n053ef8b] ~This is the paragraph, which is the parent element that contains emphasized text. This is the emphasized text, that is the child element of the paragraph element. ~This is the paragraph, which is the parent element that contains emphasized text. This is the emphasized text, that is the child element of the paragraph element. **Quotation Element-List Element [#a8c9880d] Level[0] Quotation Level[1]AAA ~Quotation Level[1]BBB Quotation Level[2]AAA ~Quotation Level[2]BBB Quotation Level[3] -Child Element-List Level[1] |TABLE|ELEMENT|NEXT|to|the Inline|element|in a list| --Child Element-List Level[2] br;Line Break in a Element ---Child Element-List Level[3] --Child Element-List Level[2] ---Child Element-List Level[3] Quotation Level[1] Quotation Level[2] Get out of the Quotation Level2 Element Quotation Level[3]AAA Quotation Level[3]BBB -Child Element-List Level[1] --Child Element-List Level[2] ---Child Element-List Level[3] Level[0] Quotation Level[1]AAA ~Quotation Level[1]BBB Quotation Level[2]AAA ~Quotation Level[2]BBB Quotation Level[3] -Child Element-List Level[1] |TABLE|ELEMENT|NEXT|to|the Inline|element|in a list| --Child Element-List Level[2] br;Line Break in a Element ---Child Element-List Level[3] --Child Element-List Level[2] ---Child Element-List Level[3] Quotation Level[1] Quotation Level[2] Get out of the Quotation Level2 Element Quotation Level[3]AAA Quotation Level[3]BBB -Child Element-List Level[1] --Child Element-List Level[2] ---Child Element-List Level[3] This section needs to be brushed up. }} #multilang(zh_TW){{ TITLE 寫作語法 #norelated *寫作語法 [#t474cb3d] 底下是 PukiWiki 的寫作語法,HTML 的標籤語法目前並不支援 #contents **文字的裝飾 [#sa30d3f7] 粗體字 粗體字 斜體字 斜體字 %%刪除線%% %%刪除線%% ((註解)) ((註解)) COLOR(#rrggbb){文字變顏色的} COLOR(red){文字變成紅色的} SIZE(n){文字的大小} SIZE(36){文字的大小,36} **文字的對齊 [#j8a91132] CENTER 置中對齊 CENTER 置中對齊 LEFT 靠左對齊 LEFT 靠左對齊 RIGHT 靠右對齊 RIGHT 靠右對齊 **圖片的顯示 [#p91a3a79] #img(圖片的URL,left) #img(http //pukiwiki.idv.tw/image/noIE.png,left) #img(圖片的URL,right) #img(http //pukiwiki.idv.tw/image/noIE.png,right) #img(,clear) #img(,clear) **附件的處理 [#x09c9333] #attach #attach #ref(附件的名稱) #ref(附件的名稱) #ref(附件的名稱,center) #ref(附件的名稱,center) #ref(附件的名稱,right) #ref(附件的名稱,right) #ref(附件的名稱,left) #ref(附件的名稱,left) #ref(附件的名稱,right,around) #ref(附件的名稱,right,around) #ref(附件的名稱,left,around) #ref(附件的名稱,left,around) 預設為 left **標題列 [#ledb8597] *H1 **H2 ***H3 #contents 製作目?索引 **表格 [#bf80cc12] | Category A | Category B | Category C | |Objective|for AI|Other| |Java|LISP|Assembla| | Category A | Category B | Category C | |Objective|for AI|Other| |Java|LISP|Assembla| 表格可搭配 CENTER RIGHT 等屬性來使用 |左左左左左|中中中中中|右右右右右| |左|CENTER 中|RIGHT 右| |RIGHT 右|左|CENTER 中| |左左左左左|中中中中中|右右右右右| |左|CENTER 中|RIGHT 右| |RIGHT 右|左|CENTER 中| **評論 [#f9013a01] #comment **文章 [#me286aca] #article **備忘 [#u814f0e3] #memo **投票 [#h4e58e45] #vote(選項1,選項2,選項3) #vote(選項1[24],選項2[5],選項3[5]) **語法的原型 [#nb55d0ba] 開頭空白則表示該行文字不會被寫作語法所轉換 **條列項目 [#t8a85629] -第一層 --第二層 ---第三層 -第一層 --第二層 ---第三層 + ++ +++ +數字1 ++數字2 +++數字3 用語1|更多的解?1 用語1|更多的解?1 **引用文字 [#s3e68591] 這是引用文字 **水平線 [#rbebd5f2] ---- ---- **換行、換段落 [#sdeecf57] hoge~ 換行 hoge~ ~hoge 換段落 ~hoge **連結 [#ve789b5e] (WikiName) PukiWiki PukiWiki (BracketName) [[SandBox]] [[SandBox]] [[測試區]] [[測試區]] [[http //pukiwiki.idv.tw/image/pukiwikiorg.png FrontPage]] [[http //pukiwiki.idv.tw/image/pukiwikiorg.png FrontPage]] (InterWiki) [[PukiWiki FrontPage]] [[PukiWiki FrontPage]] [[PukiWiki.org PukiWiki FrontPage]] [[PukiWiki.org PukiWiki FrontPage]] http //www.pukiwiki.org/ a class="__cf_email__" href="/cdn-cgi/l/email-protection" data-cfemail="691e0c0b04081a1d0c1b29191c02001e00020047061b0e" [email #160;protected] /a script cf-hash= f9e31 type="text/javascript" /* ![CDATA[ */!function(){try{var t="currentScript"in document?document.currentScript function(){for(var t=document.getElementsByTagName("script"),e=t.length;e--;)if(t[e].getAttribute("cf-hash"))return t[e]}();if(t .previousSibling){var e,r,n,i,c=t.previousSibling,a=c.getAttribute("data-cfemail");if(a){for(e="",r=parseInt(a.substr(0,2),16),n=2;a.length-n;n+=2)i=parseInt(a.substr(n,2),16)^r,e+=String.fromCharCode(i);e=document.createTextNode(e),c.parentNode.replaceChild(e,c)}}}catch(u){}}();/* ]] */ /script http //www.pukiwiki.org/ a class="__cf_email__" href="/cdn-cgi/l/email-protection" data-cfemail="b0c7d5d2ddd1c3c4d5c2f0c0c5dbd9c7d9dbd99edfc2d7" [email #160;protected] /a script cf-hash= f9e31 type="text/javascript" /* ![CDATA[ */!function(){try{var t="currentScript"in document?document.currentScript function(){for(var t=document.getElementsByTagName("script"),e=t.length;e--;)if(t[e].getAttribute("cf-hash"))return t[e]}();if(t .previousSibling){var e,r,n,i,c=t.previousSibling,a=c.getAttribute("data-cfemail");if(a){for(e="",r=parseInt(a.substr(0,2),16),n=2;a.length-n;n+=2)i=parseInt(a.substr(n,2),16)^r,e+=String.fromCharCode(i);e=document.createTextNode(e),c.parentNode.replaceChild(e,c)}}}catch(u){}}();/* ]] */ /script [[PukiWiki http //www.pukiwiki.org/]] [[PukiWiki http //www.pukiwiki.org/]] [[PukiWiki http //www.pukiwiki.org/]] [[PukiWiki http //www.pukiwiki.org/]] **註解用的符號 [#j878c9e6] 開頭以 // 表示的為註解用的行 // 這行是註解,看不到的 // 這行是註解,看不到的 **時間、日期的轉換 [#m05233d9] date? 2003-09-17 time? 15 40 03 now? 2003-09-17 (Wed) 15 40 03 **其他 [#hfbedfc0] #related #related #norelated #norelated #calendar_read(200309) #calendar_read(200309) #calendar_edit(200309) #calendar_edit(200309) #calendar2(off) #calendar2(off) **情境圖示 [#a404388d] CENTER 各種臉型 |||CENTER |c |~用法1|~用法2|~臉型|h | smile;| )| smile;| | bigsmile;| D| bigsmile;| | huh;| p, d| huh;| | oh;|X(,XD| oh;| | wink;|;)| wink;| | sad;| (,;(| sad;| | heart;|| heart;| | mheart;|| mheart;| **直接插入型的元素 [#k43cefee] | 範例 | 用法 | 備註 | | 粗體字 | #39; #39;粗體字 #39; #39;|將文字放在兩個單引號之間。| | 斜體字 | #39; #39; #39;斜體字 #39; #39; #39;|將文字放在三個單引號之間。| |文字的 br;換行|文字的 amp;br;換行|| | size(24){文字大小是 24};| amp;size(24){文字大小是 24};|| | color(red){紅色字};| amp;color(red){紅色字};|| | color(#a98765){有顏色的字};| amp;color(#a98765){有顏色的字};|| | color(red,yellow){?底紅字};| amp;color(red,yellow){?底紅字};|| |%%刪除線%%| #37; #37;刪除線 #37; #37;|| |((這是註?的文字))| #40; #40;這是註?的文字 #41; #41;|在頁面的底部插入註?。| | ref(http //pukiwiki.idv.tw);| amp;ref(http #47; #47;pukiwiki.idv.tw);|插入一個參考連結。| | aname(Anchor);| amp;aname(Anchor);|插入一個頁?連結。| | counter;| amp;counter;|插入訪客人數統計。| | online;| amp;online;|插入目前站上訪客人數。| | version;| amp;version;|插入目前的 PukiWiki 版本資訊。| |WikiName| #87;ikiName|連結至站?的 #21478;一個頁面。| |[[BracketName]]| #x5b; #x5b; #x42;racketName #x5d; #x5d;|連結至站?的 #21478;一個頁面。| |[[外部連結 http //pukiwiki.org]]| #91; #91;外部連結 http #47; #47;pukiwiki.org]]|連結至外部的頁面。| |[[InterWikiLink 頁面]]| #91; #91;Inter #87;iki #76;ink 頁面]]|連結至其他 Wiki 站的頁面。| br; **區塊型元素 [#z57f6202] ~段落 ~段落 後面隱藏的是註解 #47; #47;註解 後面隱藏的是註解 // #24744;無法看到註解。 預先格式化的文字。在文字的前面有一個空白。 預先格式化的文字。在文字的前面有一個空白。 *標題一 **標題二 ***標題三 第一層引用 第二層引用 第三層引用 第一層引用 第二層引用 第三層引用 -條列一 --條列二 ---條列三 -條列一 --條列二 ---條列三 +數字條列一 ++數字條列二 +++數字條列三 +數字條列一 ++數字條列二 +++數字條列三 定義|描述 定義|描述 水平線 ---- ---- 表格 |aaa|bbb|ccc| |111|222|333| |aaa|bbb|ccc| |111|222|333| CSV 表格 ,aaa,bbb,ccc ,111,222,333 ,aaa,bbb,ccc ,111,222,333 br; | heart;| amp;heart;|| | copy;| amp;copy;|| | reg;| amp;reg;|| | trade;| amp;trade;|| | sup2;| amp;sup2;|| | sup3;| amp;sup3;|| | nbsp;| amp;nbsp;|You may not be able to see it, br;but there is a non-breaking space in the first column. br; It prevents a line from being broken at that point.| | #10;| amp;#10;|Is this a normal space?| | #16;| amp;#16;|And this, a minus sign? | }}
https://w.atwiki.jp/psmovie/pages/730.html
Simpledit#01 Simpledit#01 主催:Deryck 編集:Deryck 公開日:2018.8.11 JEBページ DLリンク ? 出演者 forever Nemuriya takoya- merry Deryck Miyana YO-YO LEVEL muta sonick E-217 LAgooN eban
https://w.atwiki.jp/api_programming/pages/168.html
http //developer.garmin.com/downloads/connect-iq/monkey-c/doc/Toybox/WatchUi/SimpleDataField.html Contents Constant Summary Instance Attribute Summary 関数(Object) compute(info) (SimpleDataField) initialize constructor DataField 継承された関数 View クラスから解消された関数 コンストラクタ(SimpleDataField) initialize Instance Attribute Details(Object) label データエリアに表示するラベル。 Since 1.0.0 関数(Object) compute(info) Activity.Info を用いて、フィールド情報を計算する Class Toybox WatchUi SimpleDataField The SimpleDataField class is used for creating simple data fields. In a SimpleDataField, the developer is only required to implement a compute method. The compute method is passed an Activity.Info object, which contains all current workout information. The compute method should return a value to be displayed. Allowed types are Number, Float, Long, Double, Duration, and String. The SimpleDataField also contains a variable “label”. This variable should be assigned to a String label for the field. Since 1.0.0 Supported Devices All devices Constant Summary DataField から継承した定数 DataField OBSCURE_BOTTOM, DataField OBSCURE_LEFT, DataField OBSCURE_RIGHT, DataField OBSCURE_TOP Instance Attribute Summary (Object) label 関数 (Object) compute(info) To retrieve Activity.Info data for DataFields, it is necessary to override compute(). (SimpleDataField) initialize constructor Constructor. DataField 継承された関数 #getBackgroundColor , #getObscurityFlags View クラスから解消された関数 #findDrawableById , #onHide, #onLayout, #onShow, #onUpdate, #setLayout コンストラクタ(SimpleDataField) initialize Since 1.0.0 Instance Attribute Details (Object) label データエリアに表示するラベル。 Since 1.0.0 関数 (Object) compute(info) Activity.Info を用いて、フィールド情報を計算する 戻り値に表示させるフィールド(値)を設定する Parametersinfo (Activity.Info) The updated Activity.Info object Since 1.0.0
https://w.atwiki.jp/simai/pages/1003.html
What is simai's Notation? Location of Note Numbers Chart Definition and Ending Definition of BPM Length of NotesHow to Define the BPM How to Define the Length Divider TAP HOLD SLIDE (Basics Shapes) SLIDE (Multiple Chaining)Multiple SLIDE Chaining SLIDE TOUCH, TOUCH HOLD, Firework EffectTOUCH TOUCH HOLD Firework Effect EACH EX Notes Other NotationsChange Normal TAP to Star-shaped TAP Change Star-shaped TAP to Normal TAP Notations of Pseudo-TAP HOLD and Pseudo-TOUCH TOUCH HOLD Pseudo EACH SLIDE without Star-shaped TAP ※BREAK's notation is summarized in the description of TAP, HOLD, and SLIDE. What is simai's Notation? simai's notation was created by Celeca in 2013 for denoting the various types of notes appeared in maimai in plain text. By using combinations of half-width alphanumeric characters according to the rules explained below, any maimai charts can be accurately denoted using only plain text theoretically. This notation was first used in simai, a chart simulator for maimai which was first released on February 5, 2013, by Celeca. Since then, various simulators inspired by maimai have been created by volunteers, and the simai's notation has often been used as their chart notation. While Celeca will be closing simai to the public on February 5, 2023, there are still a certain number of users who use simai's notation, which is why Celeca decided to create this page. Although some simulators may have extended/further developed simai's notation in their implementation, only the notation rules officially defined as "simai's notation" are listed here. For those who want to create a simulator supporting simai's notation, it is recommended to make the simulator able to handle the notation rules on this page. Also, if you make such a simulator, Celeca would appreciate it if you could inform Celeca, who has the rights to the simai's notation. Although it is not necessary to inform, Celeca would be glad to hear from you. Location of Note Numbers First, please look at the image below. ⑧① ⑦ ② ⑥ ③ ⑤④ This shows the numbered location of maimai's buttons and sensor areas. They are numbered 1 to 8 in clockwise order. For sensor areas, each numbered location is further divided into 4 alphabet-numbered sensor areas as explained later. These numbers are used to represent notes' position, so be sure to remember this. Chart Definition and Ending A chart in simai's notation is composed by a series of commas and note notations. Every comma occupies a certain length of time. For example, when a comma has a length of 1 second and there are 10 commas in the chart, the chart will have a total length of (10 × 1s =) 10 seconds. In this case, 【1,1,1,1,1,1,1,1,1,1,1,1,1,】 represents a chart with 10 TAP notes at BUTTON-1, in the density of 1 note per second. Once the chart definition has begun, the chart can be defined using commas and note notations. However, for dealing with songs beginning with a fade-in section, a large number of commas would be needed. To save the efforts, there is a parameter which determines how many seconds should pass since the music begins playing when the chart begins at the first comma of the chart. In simai, this is determined by the parameter "first". Since the timing of the beginning of the chart should be determined precisely and accurately, a number with decimal places such as 1.234 seconds is usually used. If "first" is 1.234 seconds, then the same 【1,1,1,1,1,1,1,1,1,1,1,】 chart will have 10 TAP notes at BUTTON-1 at 1.234, 2.234, 3.234, ..., and 10.234 seconds, respectively, after the music begins playing. Just as a real sheet music has an ending notation, an ending should be defined in simai's notation, otherwise the music may continue playing endlessly. ※In simai, when the chart definition is longer than the length of the MP3, the chart still ends when the MP3 is played to the end The end of a chart is denoted by an "E". If "first" is 1.234 seconds and the chart definition is 【1,1,1,1,1,1,1,1,1,1,1,1,1,E】, the chart progresses until 10.234 seconds, as described above, and since the last comma also has a length of 1 second, the chart ends at 11.234 seconds. A chart definition in simai's notation is a long string with a large number of commas and note notations and then an "E" at the end. Line breaks, spaces, and tabs can be inserted in the middle of this string for better readability. These characters are ignored when the chart definition is being parsed. Definition of BPM Length of Notes In the previous examples, a comma has the length of 1 second. Although the following example has a BPM which make the calculation difficult on purpose, the length of a 16th note at 174 BPM is 0.08620689655 seconds. If such length is assigned to every comma, notes with the length of a 16th note at BPM 174 can be placed correctly. However, it would be troublesome to calculate this manually every time. The per-comma length can be changed by adjusting the BPM and/or the length divider by using the following notations. How to Define the BPM (120) Input the BPM value and enclose it in a pair of round brackets. Since the BPM value should be accurate, a number with decimal places can be used. How to Define the Length Divider {2} Input the dividing value and enclose it in a pair of curly brackets. E.g., "{4}" specifies the per-comma length to be a quarter note, "{8}" to be an 8th note, and "{1}" to be the whole note. A number with decimal places can be used but should be avoided because it may cause confusions. The BPM must be defined before the length divider. Because the length of notes cannot be calculated unless the BPM value is defined, when these two parameters are defined together, the length divider should come after the BPM. E.g., 【(120){2}】 specifies the per-comma length to be a half note at 120 BPM (exactly 1 second). If the BPM value is B and the length divider is T, the per-comma length can be calculated using the following formula Per-comma length = 240 / B / T (seconds). Depending on the music, there might be cases where charting to a special sound effect or so with unknown BPM is attempted or matching the vocals precisely is desired. In these cases, 【{#0.35}】, for example, can be used, and the per-comma length after this will become 0.35 seconds. When this notation is used, the per-comma length is already determined, so there is no need to specify the length divider. These two parameters can be defined anywhere when necessary. TAP From here on, note notations which can be added before a comma will be explained. TAP is the most basic note type in maimai. TAP's notation is very simple and is denoted by a button number followed by a comma. TAP that occurs at BUTTON-1 ... 【1,】 TAP that occurs at BUTTON-5 ... 【5,】 To change a TAP into a BREAK TAP, add a "b" before the comma, e.g., 【1b,】, 【5b,】. HOLD To place a HOLD, in addition to the button number, how long the button should be held down should also be specified. For example, for a hold to be held down for the length of a half note at 174 BPM, its held-down length would be 0.68965517241...... seconds. However, as with the BPM example above, this is also troublesome to calculate manually every time. If the current BPM is 174, then 【(174)】 has already been placed before. What is missing is the length divider, 【one half note】. The held-down length is written as 【[2 1]】 in simai's notation. The number before the colon denotes the length divider (half note), and the number after colon denotes the multiplier of the length divider (1×). Hence the total held-down length of such HOLD note is (1 × half note =) one half note. This way of denoting the length parameter is used in both HOLD and SLIDE. In the actual notation, a button number is specified, an "h" is specified after the button number to make it clear that the note is a HOLD, and then the held-down length is be specified after both of them. HOLD that occurs at BUTTON-5 with the held-down length of one half note ... 【5h[2 1],】 This is the basic notation. However, there might be cases where it is more convenient to specify the held-down length to be an exact number of seconds. HOLD that occurs at BUTTON-4 with a held-down length of 5.678 seconds ... 【4h[#5.678],】 HOLD that occurs at BUTTON-4 with a held-down length of one half note at 150 BPM ... 【4h[150#2 1],】 To change a HOLD into a BREAK HOLD, add a "b" after the "h" like 【5hb[2 1],】. It does not matter whether the "h" and the "b" are swapped, as in 【5bh[2 1],】. SLIDE (Basics Shapes) To place a SLIDE, many parameters should be specified, such as the starting and ending button numbers, how they are to be connected with the arrow track, and how long the tracing star is to move. Although SLIDE has gone through remarkable development in the history of maimai, and many features have been implemented to it, this section only describes the basic notation and the shapes of SLIDE. The format of SLIDE's basic notation is a combination of 【starting point, shape of track, ending point, and tracing length】. BUTTON-1 to BUTTON-4, straight shape, tracing length of 3 8th notes ... 【1-4[8 3],】 The 【[8 3]】 part at the end of the notation is specified using the same concept as the held-down length described for HOLD. For SLIDE, there is a waiting time after the approaching star-shaped TAP reaches the judgment line and before the tracing star actually begins to move. Specifically, it is one beat at the current BPM. The tracing length of the SLIDE and the waiting time for the tracing star to start moving can be directly specified in seconds as follows Status ... BUTTON-1 to BUTTON-4, straight shape, 120 BPM Waiting time is one beat at 160 BPM, tracing length is three 8th notes at 160 BPM ... 【1-4[160#8 3],】 Waiting time is one beat at 160 BPM, tracing length is 2 seconds ... 【1-4[160#2],】 Waiting time is 3 seconds, tracing length is 1.5 seconds ... 【1-4[3##1.5],】 Waiting time is 3 seconds, tracing length is three 8th notes at current BPM ... 【1-4[3##8 3],】 Waiting time is 3 seconds, tracing length is three 8th notes at 160 BPM ... 【1-4[3##160#8 3],】 The arrow track of a SLIDE has many possible shapes. "-" ... Straight shape Connects the start to the end in a straight line. " ", " ", "^" ... Arc shape Connects the start to the end along the circled judgment line. If the direction of travel is to the right, use " ". If left, use " ". If the distance is shorter than half the circle, "^" can be used and thinking of the direction is thus not needed. "v" ... v-shape Connects the start to the end through the screen center as the turning point in two straight lines. "p", "q" ... p-shape, q-shape Connects the start to the end while curving around the screen center. "s", "z" ... Thunderbolt shape Connects the start to the end with three short lines in the shape of a thunderbolt symbol (⚡). "pp", "qq" ... Grand p-shape, Grand q-shape Connects the start to the end while curving along an imaginary circle which is tangent to both the screen center and the circled judgment line. "V" ... Grand v-shape Connects the start to the end through a middle turning point in two straight lines. The line connecting the start to the middle turning point is always a short straight line. "w" ... Fan shape Connects the start to three ends in an expanding track in a shape similar to a folding hand fan. Three tracing stars going to each end are spawn for this SLIDE shape. For the "V" SLIDEs, the middle turning point is specified by an extra button number in addition to the button numbers of the starting and ending points. Starting point is BUTTON-1, turning point is BUTTON-3, ending point is BUTTON-5 ... 【1V35】 Every SLIDE has a constant tracing speed from the start to the end. To change the track of a SLIDE into a BREAK SLIDE, add a "b" after the "]" like 【1-4[8 3]b,】. The allowed positions of the ending point relative to the starting point are restricted by the shape of the SLIDE. The following table lists the possible combinations of starting and ending points of each SLIDE shape where the arrow track of the SLIDE can be drawn normally. SLIDE (Multiple Chaining) Multiple SLIDE Multiple SLIDE refers to a SLIDE note with two or more arrow tracks stating from a single star-shaped TAP. Each SLIDE arrow track is specified with its own set of parameters, since every set of parameters may be different for each SLIDE arrow track, except that the starting point is the same. The tracing speed can be different for each SLIDE arrow track, but these SLIDE arrow tracks are treated as EACH because their tracing stars begin to move at the same time. BUTTON-1 to BUTTON-4, straight shape, tracing length of 3 4th notes, plus BUTTON-1 to BUTTON-6, arc shape, tracing length of 5 8th notes ... 【1-4[4 3]*-6[8 5],】 After the starting button number at the beginning of the note notation, there is no need to repeat that button number. An "*" can be added after the second SLIDE arrow track to specify the third arrow track and so on. Chaining SLIDE Chaining SLIDE is a SLIDE note which composes of multiple SLIDE arrow tracks with their starting and ending points joined together and is treated as a single SLIDE arrow track. For example, the 【1V75】 arrow track is internally two SLIDE arrow tracks (【1-7】 and 【7-5】) combined into one. However, the combination is not limited to the grand V-shapes but can be any shape and two or more SLIDE arrow tracks joined together. No matter how long the chaining SLIDE is, the tracing speed is calculated from the tracing length to be a constant from the start to the end of tracing. BUTTON-1 to BUTTON-4 with straight shape, BUTTON-4 to BUTTON-7 with q-shape, BUTTON-7 to BUTTON-2 with straight shape, tracing length of two whole notes ... 【1-4q7-2[1 2],】 Specify a series of button numbers and SLIDE shapes and then specify the tracing length at the end. In the case of this SLIDE, the tracing star continues tracing at a constant speed from BUTTON-1 until it reaches BUTTON-2. However, there might be cases where different tracing lengths are desired for some of the SLIDE arrow tracks. In such cases, the tracing length for each SLIDE arrow track can be specified like 【1-4[2 1]q7[2 1]-2[1 1],】. However, be sure to specify the tracing speed for all individual SLIDE arrow tracks. Otherwise, an error may occur. To change it to BREAK SLIDE, add a "b" after the "]", which the same as for regular SLIDE. It is not possible to make only a section of chaining SLIDE into BREAK SLIDE. A chaining SLIDE note can only be either a normal SLIDE or a complete BREAK SLIDE. Therefore, even when different tracing speeds can be specified for some of the SLIDE arrow tracks, the "b" can be added only after the last "]". TOUCH, TOUCH HOLD, Firework Effect TOUCH In maimai DX series, there are 34 sensor areas on the screen which the player can touch. All of these can handle contact events, and SLIDEs require the contact events to be made in a specific order. Since maimai DX, there have been new types of notes that require directly touching the sensor. They are TOUCH and TOUCH HOLD. The sensor areas are also divided into five major groups Group A, located adjacent to the buttons; Group B, located between Group A and the center of screen; Group C, which is in charge of the center; Group D, which fills the space between the areas of Group A; and Group E, located slightly inward from Group D and adjacent to Group B. Group C is in the center and has 2 sensor areas, while each of the other groups has 8 sensor areas which are numbered in clockwise order. The following diagram shows the approximate location and positioning of the sensors. To place a TOUCH, the sensor number of the desired location is denoted in the same way as TAP. TOUCH that occurs at SENSOR-B1 ... 【B1,】 TOUCH that occurs at SENSOR-D4 ... 【D4,】 The sensor in the center is divided into two areas, C1 and C2. However, no TOUCHes appear separately for each of them, instead a TOUCH appears in the middle of the areas. Therefore, a TOUCH that occurs in the center can be denoted as 【C,】 without numbering. Denoting this as either 【C1,】 or 【C2,】 causes no errors and is treated the same as 【C,】. TOUCH HOLD TOUCH HOLD is a note that requires the sensor to be pressed and held. It is counted as "HOLD" in the play result. The awarded score is also the same as HOLD. This notation is a direct combination of TOUCH and HOLD. Just simply replace the button number of a HOLD with a sensor number. TOUCH HOLD that occurs at SENSOR-C with held-down length of 3 4th notes ... 【Ch[4 3],】 While TOUCH has appeared in all 34 sensor areas since DX FESTiVAL, TOUCH HOLD has only appeared on the C sensor since DX classic, at least until DX UNiVERSE PLUS. However, in simai's notation, TOUCH HOLD can appear anywhere if the sensor number is specified to be not C. Firework Effect Firework effect refers to the rainbow-colored radial effect that appears as if fireworks are spreading from a certain location when a specific TOUCH is touched. Since there was no official name for this effect at the time DX classic was launched, 3simai used the name "firework effect" for convenience. To enable firework effect, add an "f" after the sensor number. TOUCH that occurs at SENSOR-B7 with firework effect ... 【B7f,】 TOUCH HOLD that occurs at SENSOR-C with held-down length of two whole notes with firework effect ... 【Chf[1 2],】 In the case of TOUCH HOLD, when "h" for HOLD and "f" for FIREWORK effect are specified together, either "hf" or "fh" is fine. EACH If two or more notes occur at exactly the same time, they are treated as an EACH (BOTH). In the case of SLIDEs, even if their tracing length are different, they are still considered to be an EACH if their tracing stars begin to move at the same time. The notes treated as part of an EACH change their color to yellow, except for BREAK notes. An EACH is denoted by placing each composing note and separating each of them with a "/". TAP at BUTTON-1 and HOLD at BUTTON-8 with held-down length of one half note ... 【1/8h[2 1],】 Their order does not matter, so the notation 【8h[2 1]/1,】 works fine. However, for SLIDEs, for example, in 【1-4[8 1]/2-6[8 1],】, 【1-4[8 1]】 will be displayed as if it occurred before 【2-6[8 1]】. In other words, the SLIDE defined earlier will be displayed as if it occurred earlier. Three or more elements are also treated as an EACH and can be denoted as note A / note B / note C ... Only EACHes composing of only non-BREAK TAPs can be denoted like 【12】 without the "/". The "/" between each note cannot be omitted even if there is only a single non-TAP or BREAK note within the EACH. EX Notes TAP, HOLD, and BREAK can be specified as EX notes. EX notes are judged to be CRITICAL PERFECT if they are hit within the timing window of GOOD or better. Simulators that support only the autoplay mode always hit notes within the timing window of CRITICAL PERFECT regardless of the notes' EX setting. However, Celeca have defined the notation because demands are expected for the needs of reproducing official charts and/or charting for simulators that react to player's input. To change a note into an EX note, add an "x" in the similar manner for changing the notes into BREAKs. EX-TAP at BUTTON-1 ... 【1x,】 EX-HOLD at BUTTON-3 ... 【3hx[α β],】 EX-BREAK at BUTTON-5 ... 【5bx,】 EX-BREAK HOLD at BUTTON-7 ... 【7bxh[α β],】 When two or more of "x", "h", and "b" characters are specified together, they can be specified in any order. Other Notations The notations listed below allow charters to create special charts more easily, such as the UTAGE charts appeared in MURASAKi version. Change Normal TAP to Star-shaped TAP A BUTTON-1 TAP is denoted as 【1,】. But if a "$" is appended and denoted as 【1$,】, it changes into a star-shaped TAP that would appear if a SLIDE were placed. This can be used in conjunction with a BREAK TAP or an EX-TAP. When two or more of "$", "b", and "x" characters are specified together, they can be specified in any order. Also, if two "$" are stacked to form "$$", the star-shaped TAP rotates. Currently, the rotation speed of the star-shaped TAP is a pre-defined constant. Change Star-shaped TAP to Normal TAP When a SLIDE is described as 【1-5[8 1],】, the BUTTON-1 TAP automatically changes into a star-shaped TAP, but if a "@" is appended to the star-shaped TAP as in 【1@-5[8 1],】, this star-shaped TAP changes back into a normal TAP. The SLIDE is processed as usual, so the SLIDE arrow track appears to start from the normal TAP. This can be used in conjunction with a BREAK TAP or an EX-TAP too. When two or more of "@", "b", and "x" characters are specified together, they can be specified in any order. Notations of Pseudo-TAP HOLD and Pseudo-TOUCH TOUCH HOLD Assuming there is a HOLD denoted by 【3h[1 1],】, if its held-down length is shortened to the limit, the required held-down length becomes instant, and the visual length of the HOLD shrinks as well, giving it the appearance of a hexagonal TAP. Although such a HOLD can be denoted like 【3h[1000 1],】, it can be easily denoted by removing the held-down length notation like 【3h,】. The same notation can be used for TOUCH HOLD. For example, a TOUCH HOLD denoted as 【Ch,】 gives a judgment instantly when hit. This can be used to denote a pseudo TAP or pseudo TOUCH. Note that this notation is treated internally as if 【[1280 1]】 were specified. It is because the held-down length of such notes is implied to be set to the length of a 1280th note in the official fan book sold by SEGA. Pseudo EACH When denoting two TAPs that are almost but not exactly simultaneous, the notes in the nearby section would needed be very fine-tuned in this way {96} 1,2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, {8} ~~~~~~ In the above example, the 96th note length divider was used for the timing gap, and specifying the notes to be closer to each other would be even harder. When strictly reproducing an official chart, this made it infeasible, and when creating a fan-made chart, this could be troublesome. In this case, 【1`2,】 can be used. It makes the BUTTON-2 TAP placed only slightly later than the BUTTON-1 TAP but still almost simultaneous. The BUTTON-2 TAP is processed internally as a TAP that is 1 millisecond later than the BUTTON-1 TAP. Since they are not exactly simultaneous to become a part of an EACH, the two TAPs do not turn yellow and do not count as an EACH on the play result. For example, in 【1`2`3/4,】, a BUTTON-2 TAP is placed 1 millisecond after the BUTTON-1 TAP, and an EACH composing of a BUTTON-3 TAP and a BUTTON-4 TAP is placed another 1 millisecond after the BUTTON-2 TAP. Note that, the "`" symbol can be entered by holding down Shift and pressing the "@" key right to the "P" key on a JIS layout keyboard and also by directly pressing the "`" key left to the "1" key on a US or UK layout keyboard. SLIDE without Star-shaped TAP When a SLIDE is placed, a star-shaped TAP normally always appears and approaches to the SLIDE's starting point, but this approaching star-shaped TAP can be eliminated. Assume that there is a SLIDE denoted by 【1-5[2 1],】. The tracing star fades in before starting to move ... 【1?-5[2 1],】 The tracing star does not fade in and suddenly appears when it begins to move ... 【1!-5[2 1],】 In both cases, the SLIDE arrow track fades in and the approaching star-shaped TAP does not appear. For creating a chart that letters, symbols, etc. are drawn using SLIDEs, it is recommended to use "?" to make it clear where to start tracing. For creating a chart with single-stroke SLIDEs, using "!" is recommended to avoid displaying extra stars on the screen. [pseudoEach] backtick (`) is located to the left of "1" on a US/UK layout keyboard. Its Alt code is 96. Alternatively you can copy and paste... -- cubruce1103 (2023-02-13 02 35 50) 名前 コメント
https://w.atwiki.jp/shells/pages/91.html
アクセスログを記録する-FileWriter/BufferedWriter・StringBuffer・Calendar/Date/SimpleDateFormatクラス- 【HP】 目次 ソースbundle.jsp 実行結果 ソース bundle.jsp %@ page contentType="text/html; charset=Shift_JIS" import="java.io.*, java.util.*, java.text.*" % % FileWriterobjFw= new FileWriter( application.getRealPath( "/IT/JSP_9/sample.log" ), true );// 追加書き込み // 1バイト受け取っては1バイト書き込む BufferedWriterobjBw= new BufferedWriter( objFw, 10 );// 上記の非効率的なやりかたを防ぐ為バッファと併用する StringBufferobjSb= new StringBuffer();// 書き込むとき新しくオブジェクトを生成するのではなく、 // 追加するのでパフォーマンスに優れている( 可変長文字列 ) CalendarobjCal= Calendar.getInstance();// 日付データを保持し操作するクラス SimpleDateFormat objFmt= new SimpleDateFormat( "yyyy/MM/dd HH mm ss" );// フォーマットするデータはDateオブジェクトを指定 objSb.append( objFmt.format(objCal.getTime() ));objSb.append("\t");// 文字列編集 objSb.append( request.getServletPath() );objSb.append("\t");// タブ区切り objSb.append( request.getRemoteAddr() );objSb.append("\t"); objSb.append( request.getHeader( "referer" ) );objSb.append("\t"); objSb.append( request.getHeader( "user-agent" ) );objSb.append("\t"); objBw.write( objSb.toString() );// 書き込み objBw.newLine();// 改行 objBw.close(); % 実行結果 指定したディレクトリにsample.logが出力される 戻る